package com.cw.jeeyt.service.intf.git;

import java.util.List;

import com.cw.jeeyt.common.Order;
import com.cw.jeeyt.service.bo.git.GitSendEmailRecordBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 邮件发送通知记录业务接口
 *
 * @author chenw
 * @date 2019-02-25 00:51:03
 */
public interface GitSendEmailRecordService {
    /**
     * 查询所有邮件发送通知记录列表信息
     */
    List<GitSendEmailRecordBo> queryGitSendEmailRecordList() throws Exception;

    /**
     * 删除邮件发送通知记录
     *
     * @param gitSendEmailRecordBo
     */
    void delete(GitSendEmailRecordBo gitSendEmailRecordBo) throws Exception;

    /**
     * 更新邮件发送通知记录
     *
     * @param gitSendEmailRecordBo
     */
    void update(GitSendEmailRecordBo gitSendEmailRecordBo) throws Exception;

    /**
     * 更新邮件发送通知记录不为空的字段
     *
     * @param gitSendEmailRecordBo
     */
    void updateSelective(GitSendEmailRecordBo gitSendEmailRecordBo) throws Exception;

    /**
     * 根据主键查询邮件发送通知记录
     *
     * @return
     */
    GitSendEmailRecordBo getGitSendEmailRecordById(Long recordId) throws Exception;

    /**
     * 新增邮件发送通知记录
     *
     * @param gitSendEmailRecordBo
     * @return
     */
    Integer insert(GitSendEmailRecordBo gitSendEmailRecordBo) throws Exception;

    /**
     * 新增邮件发送通知记录不为空的字段
     *
     * @param gitSendEmailRecordBo
     * @return
     */
    Integer insertSelective(GitSendEmailRecordBo gitSendEmailRecordBo) throws Exception;

    /**
     * 分页查询邮件发送通知记录
     *
     * @param gitSendEmailRecordBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<GitSendEmailRecordBo> queryByPage(GitSendEmailRecordBo gitSendEmailRecordBo, Integer startNum,
        Integer pageSize, Order order) throws Exception;
}
